package com.group3.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class StudentGroupInfo {
    private Integer groupId;

    private String groupName;

    private String departName;

    private String professionName;

    private String grade;

    private String classId;

    private String teacherName;

    private String studentName;

    private String studentId;

    private Integer sex;

    private String cardId;

    private String tel;

    private String email;

    private String teacherId;

    private Integer type;
    @ApiModelProperty(value = " 项目角色")
    private String typeStr;

    public String getTypeStr() {
        switch (type) {
//            项目角色:0:前端；1;后台；2：测试
            case 0: return "前端";
            case 1: return "后台";
            case 2: return "测试";
        }
        return "?";
    }
}